package override;

public class Test {
    public static void main(String[] args) {
//      Object
//        Student zhangsan = new Student("zhangsan", 100);
//        System.out.println(zhangsan);

        // 1 号实例
        Student obj1 = new Student("zhangsan", 20, 1);
        Student obj2 = new Student("zhangsan", 20, 2);
        System.out.println(obj1.equals(obj2));
    }
}
